package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuHeGeZhengSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuHeGeZhengSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuHeGeZhengVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanKuHeGeZhengDO;

/**
 * <p>
 * 船员证书-合格证 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuHeGeZhengService extends IBaseService<ChuanYuanKuHeGeZhengDO> {
    Page<ChuanYuanKuHeGeZhengVO> findChuanYuanKuHeGeZheng(ChuanYuanKuHeGeZhengSearchPO searchPO);

    ChuanYuanKuHeGeZhengVO saveChuanYuanKuHeGeZheng(ChuanYuanKuHeGeZhengSavePO savePO);

    ChuanYuanKuHeGeZhengVO getChuanYuanKuHeGeZheng(Long id);

    ChuanYuanKuHeGeZhengVO updateChuanYuanKuHeGeZheng(ChuanYuanKuHeGeZhengSavePO savePO);

    boolean delChuanYuanKuHeGeZheng(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
